package teacher.action.flow;

import java.util.List;

import com.opensymphony.xwork2.ActionSupport;
import teacher.bean.Flow;
import teacher.service.flow;

public class flowAwa extends ActionSupport{

	private static final long serialVersionUID = 1L;
	private int awardId;
	private List<Flow> flow;

	public List<Flow> getFlow() {
		return flow;
	}

	public void setFlow(List<Flow> flow) {
		this.flow = flow;
	}

	public int getAwardId() {
		return awardId;
	}

	public void setAwardId(int awardId) {
		this.awardId = awardId;
	}

	public String execute() throws Exception{
		
		flow = new flow().selectFlowById(awardId, 3); 
		
		return SUCCESS;
	}

}
